
function showAddContainer(){
	jQuery("#add-container").css("display", "block");
	jQuery("#new-container").css("display", "none");
};

function showNewContainer(){
	jQuery("#add-container").css("display", "none");
	jQuery("#new-container").css("display", "block");
};

function findAll(entityName, $http, $scope){
	$http({method: 'GET', url: './service/crud/' + entityName }).
	  success(function(data, status, headers, config) {
		  $scope.entities = data;
	  }).
	  error(function(data, status, headers, config) {

	  });
}

function createEntity(entityName, data){
	
	
}